export class TowerHelper
{
    static AttackOfDistnace:number=30;
    static HealOfDistnace:number=20;

    static TowerDamage(distance:number):number
    {
        return distance<=5?600:distance>=20?150:( 750-this.AttackOfDistnace*distance ) ;
    }
    static TowerAttackToHeal(attack:number):number
    {
        return 2*attack/3;
    }
}
